import React from "react";
import type {Metadata} from "next";

// 用于定义每个页面的动态标题
export const metadata: Metadata = {
    title: "Settings",
    description: "这是设置页面的元数据"
}

export default function SettingsLayout({children}: {children: React.ReactNode}) {
    return (
        <section>
            <h2 style={{
                color: "purple",
                fontSize: "28px"
            }}>this is settings layout，this is a child of settings page</h2>
            {children}
        </section>
    )
}